package cn.luischen.aspect.test;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class MyAopDemo {
    @Autowired
    SomeService someService;


    @PostConstruct
    public void aopTest() {
        someService.hello("abc");
        someService.test();
    }
}